export interface WordHitPosition {
  subLabel?: string
  subLabelDesc?: string
  positions?: number[][]
  labelDesc?: string
  label?: string
  keyword?: string
}

export interface Hit {
  wordHitPositions?: WordHitPosition[]
  probability?: number
  datasetName?: string
  words?: string[]
  modelHitPositions?: (number[])[]
}

export interface DataItem {
  msg?: string
  conclusion?: string
  hits?: Hit[]
  subType?: number
  conclusionType?: number
  type?: number
}

export interface TextCheckResult {
  conclusion?: string
  log_id?: number
  phoneRisk?: Record<string, any>
  data?: DataItem[]
  isHitMd5?: boolean
  conclusionType?: number
}
